import Vue from 'vue'
import axios from 'axios'
import qs from 'qs'
import App from './App.vue'
import router from './router'
import store from './store'
import iView from 'view-design';
import 'view-design/dist/styles/iview.css';
import axiosUtils  from '@/common/axiosUtils';

// window.myIView=iView;
// Vue.use(top.myIView);

Vue.config.productionTip = false
axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
Vue.prototype.$axios = axios;
Vue.prototype.$qs = qs;
Vue.prototype.$axiosUtils = axiosUtils;
Vue.use(iView);
new Vue({
  router,
  store,
  render: h => h(App),
  created(){
      window.$Modal = this.$Modal;
  }
}).$mount('#app')

